//
//  GYNewGoods.h
//  GoodLuck
//
//  Created by apple on 2018/5/2.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GYNewGoods : NSObject

/** 商品的标题 */
@property (nonatomic, strong) NSString *title;

/** 数据图片地址 */
@property (nonatomic, strong) NSString *image;

/** 数据类型 */
@property (nonatomic, strong) NSString *type;

/** 数据 */
@property (nonatomic, strong) NSString *data;

/**
 初始化方法

 @param dic <#dic description#>
 @return <#return value description#>
 */
- (instancetype)initWithDic:(NSDictionary *)dic;

/**
 计算数据模型的高度

 @param model <#model description#>
 @return <#return value description#>
 */
- (CGFloat)height;

@end
